package com.qkjia.easyexcel.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;

/**
 *  @author 赵乾坤
 *  @since 2021-11-05 5:13
 */
@Data
public class ExcelStudentDTO {
    /**
     * @ExcelProperty 标题格式名
     */
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("生日")
    private Date birthday;
    @ExcelProperty("薪资")
    private Double salary;
    /**
     * 忽略这个字段
     */
    @ExcelIgnore
    private String ignore;
}